package org.example.service;

import org.example.Result;
import org.example.sso.model.entity.UserDO;

import javax.servlet.http.HttpServletRequest;

public interface LoginService {
    Result<String> login(String username, String password);

    Result<String> logout(HttpServletRequest request);
}
